// 引入commmon样式
@import "common";
@baseFont: 50;
body{
    min-width: 320px;
    margin: 0 auto;
    max-width: 750px;
}
a {
    text-decoration: none;
}
.search{
    display: flex;
    position: fixed;
    z-index: 9;
    left: 50%;
    transform: translateX(-50%);
    width: 15rem;
    height: (88rem / @baseFont);
    background-color: #FFC001;
   
    .fenlei{
        width: (44rem / @baseFont);
        height: (70rem / @baseFont);
        background:url(../images/classify.png) no-repeat 0 0 ;
        background-size: 0.88rem;
        margin: 0.22rem 0.5rem 0.14rem 0.48rem;

    }
    .login{
        width: 1.5rem;
        height: 1.4rem;
        line-height: 1.4rem;
        color: #fff;
        font-size: 0.5rem;
        text-align: center;
        margin: 0.2rem;
    }
    .search-main{
        flex: 1;
    
        form{
            margin: 0.13rem;
            input{
                outline: none;
                width: 100%;
                border: 0;
                height: 1.32rem;
                line-height: 1.32rem;
                border-radius: 0.66rem;
                background-color: #FFF2CC;
                font-size: 0.5rem;
                text-indent: 0.5rem;
            }
        }
    }
}
.currnt{
    background-color: red;
    z-index: 999;
}
.bannar
{
    width: (750rem / @baseFont);
    height: (368rem / @baseFont);
    position: relative;
    .swiper-container {
        width: 100%;
        height: 100%;
        margin-left: auto;
        margin-right: auto;
      }
  
      .swiper-slide {
        text-align: center;
        font-size: 18px;
        background: #fff;
  
        /* Center slide text vertically */
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        -webkit-justify-content: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        -webkit-align-items: center;
        align-items: center;
      }
    
}
.ad{
    display: flex;
    a{
        flex: 1;
        img{
            width: 100%;
        }
    }
}
.nav{
    display: flex;
    flex-wrap: wrap;
    margin-top: (10rem / @baseFont);
    a{
        flex: 20%;
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 0.4rem;
        color: #222;
        margin-bottom: (8rem / @baseFont);
        .nav-icons{
            width: (82rem / @baseFont);
            height: (82rem / @baseFont);
            background: url(../upload/nav1.png) no-repeat 0 0;
            background-size: (82rem / @baseFont);
            margin-bottom: (10rem / @baseFont);
        }
    }
}